@layout("/common/_form.html",{js:["/assets/tBasicinfo/tBasicinfo_edit.js"]}){

<form class="layui-form" id="tBasicinfoForm" lay-filter="tBasicinfoForm">
    <div class="layui-fluid" style="padding-bottom: 75px;">
        <div class="layui-card">
            <div class="layui-card-header">企业信息</div>
            <div class="layui-card-body">
                <div class="layui-form-item layui-row">
                    <input name="id" type="hidden"/>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">所属县区<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <select id="pid" name="pid" lay-filter = "pid" lay-search="" lay-verify="required" required>
                            </select>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">企业名称<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="companyName" name="companyName" placeholder="请输入企业名称" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
<!--                    <div class="layui-inline layui-col-md12">-->
<!--                        <label class="layui-form-label">统一社会信用代码<span style="color: red;">*</span></label>-->
<!--                        <div class="layui-input-block">-->
<!--                            <input id="socialCreditCode" name="socialCreditCode" placeholder="请输入统一社会信用代码" type="text" class="layui-input" lay-verify="required" required/>-->
<!--                        </div>-->
<!--                    </div>-->
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">企业生产经营地址<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="companyAddress" name="companyAddress" placeholder="请输入企业生产经营地址" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>


                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">行业类别<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="companyType" name="companyType" placeholder="请输入行业类别" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">所属园区<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="ownedPark" name="ownedPark" placeholder="请输入所属园区" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">占地面积<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="area" name="area" placeholder="请输入占地面积" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">经度<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="longitudeLatitude" name="longitudeLatitude" placeholder="请输入经纬度" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">纬度<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="latitude" name="latitude" placeholder="请输入纬度" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">是否停产<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <select id="idDiscontinued" name="idDiscontinued" lay-filter = "idDiscontinued" lay-search="">
                                <option value="0">未停产</option>
                                <option value="1">停产</option>
                            </select>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">法定代表人<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="legalRepresentative" name="legalRepresentative" placeholder="请输入法定代表人" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">环评批复号<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="eiaNumber" name="eiaNumber" placeholder="请输入环评批复号" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">排污许可证编号<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="pollutionPermitNumber" name="pollutionPermitNumber" placeholder="请输入排污许可证编号" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">企业联系人<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="companyPerson" name="companyPerson" placeholder="请输入企业联系人" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">联系方式<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="linkType" name="linkType" placeholder="请输入联系方式" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">企业人数<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="companyPeople" name="companyPeople" placeholder="请输入企业人数" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">是否重点监管<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <select id="isFocus" name="isFocus" lay-filter = "isFocus" lay-search="">
                                <option value="0">是</option>
                                <option value="1">否</option>
                            </select>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">排污许可证日期<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="pollutionPermitDate" name="pollutionPermitDate" placeholder="请输入计划完成时间" type="text" class="layui-input date-icon" autocomplete="off" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12" >
                        <label class="layui-form-label">企业组织架构<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="companyOrganization" name="companyOrganization" type="hidden" class="layui-input"/>
                            <button type="button" class="layui-btn layui-btn-sm" id="companyClick"><i class="layui-icon"></i>选择图片</button>
                            <div class="layui-upload-list">
                                <img class="layui-upload-img" id="companyImg" width="92px" height="92px">
                            </div>
                        </div>
                    </div>



                    <div class="layui-inline layui-col-md12" >
                        <label class="layui-form-label">营业执照<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="businessLicense" name="businessLicense" type="hidden" class="layui-input"/>
                            <button type="button" class="layui-btn layui-btn-sm" id="businessLicenseImageBtn"><i class="layui-icon"></i>选择图片</button>
                            <div class="layui-upload-list">
                                <img class="layui-upload-img" id="businessLicenseImg" width="92px" height="92px">
                            </div>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12" >
                        <label class="layui-form-label">环评批复<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="eiaApproval" name="eiaApproval" type="hidden" class="layui-input"/>
                            <button type="button" class="layui-btn layui-btn-sm" id="eiaApprovalClick"><i class="layui-icon"></i>选择图片</button>
                            <div class="layui-upload-list">
                                <img class="layui-upload-img" id="eiaApprovalImg" width="92px" height="92px">
                            </div>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12" >
                        <label class="layui-form-label">环评验收<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="eiaAcceptance" name="eiaAcceptance" type="hidden" class="layui-input"/>
                            <button type="button" class="layui-btn layui-btn-sm" id="eiaAcceptanceClick"><i class="layui-icon"></i>选择图片</button>
                            <div class="layui-upload-list">
                                <img class="layui-upload-img" id="eiaAcceptanceImg" width="92px" height="92px">
                            </div>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12" >
                        <label class="layui-form-label">排污许可证<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="pollutionPermit" name="eiaAcceptance" type="hidden" class="layui-input"/>
                            <button type="button" class="layui-btn layui-btn-sm" id="pollutionPermitClick"><i class="layui-icon"></i>选择图片</button>
                            <div class="layui-upload-list">
                                <img class="layui-upload-img" id="pollutionPermitImg" width="92px" height="92px">
                            </div>
                        </div>
                    </div>


                    <div class="layui-inline layui-col-md12" >
                        <label class="layui-form-label">厂区平面图<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="floorPlan" name="floorPlan" type="hidden" class="layui-input"/>
                            <button type="button" class="layui-btn layui-btn-sm" id="floorPlanClick"><i class="layui-icon"></i>选择图片</button>
                            <div class="layui-upload-list">
                                <img class="layui-upload-img" id="floorPlanImg" width="92px" height="92px">
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="form-group-bottom text-center">
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
        <button type="reset" class="layui-btn layui-btn-primary" ew-event="closeDialog">&emsp;取消&emsp;</button>
    </div>

</form>

@}